package com.zhangtai.modules.entity.employee;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
	

/**
 * 内部奖惩
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-12-19 15:25:10
 */
@Data
@TableName("tb_internal_award")
public class InternalAwardEntity implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * 
		 */
				@TableId
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
			private Long id;
			/**
		 * 员工oid
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long oid;
			/**
		 * 员工工号
		 */
			private String empCode;
			/**
		 * 奖惩事由
		 */
			private String cause;
			/**
		 * 奖惩类别
		 */
			private String category;
			/**
		 * 奖惩方式
		 */
			private String mode;
			/**
		 * 奖惩时间
		 */
			private Date jcTime;
			/**
		 * 奖惩金额
		 */
			private BigDecimal amount;
			/**
		 * 备注
		 */
			private String remark;
			/**
		 * 创建时间
		 */
			private Date createTime;
			/**
		 * 是否删除
		 */
			private Integer isDelete;
	
}
